Define POSIX_SIGNALS for GNU/Hurd.
authorRob Browning <rlb@defaultvalue.org>
Sun, 29 Jan 2012 19:34:44 +0000 (13:34 -0600)
committerRob Browning <rlb@defaultvalue.org>
Wed, 21 Mar 2012 05:36:02 +0000 (00:36 -0500)
Emacs will now use POSIX signals on GNU/Hurd which avoids a build
failure when a 15MiB-long write is interrupted by a signal, and Emacs
hasn't set the SA_RESTART flag.

Author: Samuel Thibault <sthibault@debian.org>
Date: Sun, 4 Dec 2011 19:47:54 +0100
Applied-By: Rob Browning <rlb@defaultvalue.org>
Forwarded: bug-gnu-emacs@gnu.org
Closes: #650976
src/s/gnu.h

index 388b3e3552ea744b994241fd0a8a48c0b9db8b17..51e6ec47e22d0696d078b9156f74a58db02e587a 100644 (file)
@@ -83,5 +83,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #endif /* !_IO_STDIO_H */
 #endif /* emacs */
 
+#define POSIX_SIGNALS 1
+
 /* arch-tag: 577983d9-87a6-4922-b8f8-ff2b563714a4
    (do not change this comment) */